This demo of the Standard Data Objects (TM) ODBC Class Library for MFC is designed to work with Microsoft SQL Server 6.5. The main intention is to demonstrate how simple it is to work with these classes by supplying all the source code files for the demo application.  Look through the header and .cpp files and read the comments explaining each line related to this class library. The sample database that ships with Microsoft SQL Server 6.5 is called pubs, and is required to run the executable. In addition, you'll need to set up an ODBC datasource as follows:

1) Set up a new datasource and call it "SQL_Pubs"
2) If the login portion of the ODBC setup screen
is not visible, click on options. Set the database name
to "pubs"
3) Click OK to create the datasource.
4) The demo has a user login of "sa" and password "" ( null )
hard coded into it. You'll need an account like this to run the demo.  If this is a problem, send an email to us at newhavensoftware@snet.net.

Look through the source code files provided.  Notice how easy it is to interact with the database using these classes. 

We welcome your questions, comments, and suggestions. Please send them to newhavensoftware@snet.net.

Happy coding!